            <!-- Comments -->
            <div id="comments">
                <h4>相关评论</h4>
                <ol class="comments-list">
                <?php if($model->comment):?>
               	    <?php foreach($model->comment as $comment):?>
                	<li class="comment">
                		<div class="left">
                 			<?php echo Gavatar::getAvatar($comment->com_email,$comment->com_email,array('class'=>'avatar left'));?>
               			</div>
                            <div class="comment-meta">
                				<h5 class="author"><a href=""><?php echo $comment->com_author;?></a></h5>
                				<p class="date"><?php echo UtilTools::timeop($comment->com_create);?></p>
                			</div>
                			<div class="comment-entry">
                                <p><?php echo $comment->com_contents;?></p>
                            </div>
                		</div>
                		<?php if(count($comment->comments)>0):?>
                				<ul class="children">
                				<?php  foreach($comment->comments as $comment):?>
                                    <li class="comment">

                                        
                                        <div class="left">
                                            
                                            <div class="comment-meta">                                        <div class="left">
                                        <?php echo Gavatar::getAvatar($comment->com_email,$comment->com_email,array('class'=>'left'));?>
                                        </div>
                                                <h5 class="author"><a href="./blog_post.html"><?php echo $comment->com_author;?></a></h5>
                                                <p class="date"><?php echo UtilTools::timeop($comment->com_create);?></p>
                                            </div>
                                            <div class="comment-entry">
                                                <p><?php echo  $comment->com_contents;?></p>
                                            </div>
                                        </div>
                                    </li>
                                    <?php endforeach;?>
                                </ul>
                		<?php endif;?>
                	</li>
                <?php endforeach;?>
                <?php else: ?>
                       <li class="comment">
                		<div>
                			<div class="comment-entry">
                                <p>现在还没有人来评论哦~~</p>
                            </div>
                		</div>
                		</li>
                <?php endif;?>
                

                </ol>
                
                <!-- Comments Form -->
                </div>